<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>闲趣吧——感悟生活,分享快乐</title>
<link href="../nresources/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../nresources/css/bjqs.css" />
<link rel="stylesheet" href="../nresources/css/demo.css" />
<script type="text/javascript">
	window.onload=function(){
	    var curWwwPath=window.document.location.href;
		var pathName=window.document.location.pathname;
	    var pos=curWwwPath.indexOf(pathName);
	    var localhostPaht=curWwwPath.substring(0,pos);
	    var projectName=pathName.substring(0,pathName.substr(1).indexOf('/')+1);
	    var url = localhostPaht+"/addvisit.do"+ "?id=" +#urlid#;
	    var Ajax=new XMLHttpRequest();
		Ajax.open("GET",url,true);
		Ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
		Ajax.send(null);
    }
</script>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
  <div id="main">
    <div id="topheader"> </div>
   <div id="menu_area">
      <div class="menuarea">
        <div class="menutext"><a href="../main/1/1/query.do" art="1" class="menu_hover" onclick="pageload(this)">首页</a></div>
        <div class="menu_divider"></div>
        <div class="menutext"><a href="../main/2/1/query.do" art="2" class="menu" onclick="pageload(this)">情感</a></div>
        <div class="menu_divider"></div>
        <div class="menutext"><a href="../main/3/1/query.do" art="3" class="menu" onclick="pageload(this)">吃货</a></div>
        <div class="menu_divider"></div>
        <div class="menutext"><a href="../main/4/1/query.do" art="4" class="menu" onclick="pageload(this)">新技能</a></div>
        <div class="menu_divider"></div>
        <div class="menutext"><a href="../main/5/1/query.do" art="5" class="menu" onclick="pageload(this)">正能量</a></div>
        <div class="menu_divider"></div>
        <div class="menutext"><a href="../main/6/1/query.do" art="6" class="menu" onclick="pageload(this)">其他</a></div>
        <input id="artType" value="1" style="display: none"/>
        <div class="menu_divider"></div>
      </div>
</div>
    <div id="body_area">
      <div class="mid">
        <h1><center>#title#</center></h1>
        <br /><br />
        <div>#text#</div>
        <script type="text/javascript">
			var images = $('img.js_lazy_img'); //初始化
			alert(images.length)
			images.each(function() {
				var _this = $(this);
				_this.css({
					width: '400px',
					height: '400px'
				});
				_this.attr('src', 'https://www.baidu.com/img/bd_logo1.png'); //default imge
				lazyLoad(_this);
			});
			$(window).bind('scroll', function() {
				var images = $('img.js_lazy_img');
				if (images.length) {
					images.each(function() {
						var _this = $(this);
						lazyLoad(_this);
					})
				}
			});

			function lazyLoad(obj) {
				var _winHeight = $(window).height(),
					_scrollTop = $(window).scrollTop();
				if ((obj.offset().top < _winHeight + _scrollTop) && (!obj.hasClass('readyLoading'))) { //readyLoading 防止窗口滚动时同一个img对象重复执行以下操作
					var img = $('<img>');
					obj.addClass('readyLoading');
					img.attr('src', obj.attr('original-src'));
					img.bind('load', function() {
						obj.attr('src', obj.attr('original-src'));
						obj.removeClass('js_lazy_img');
						obj.removeAttr('original-src');
						obj.removeClass('readyLoading');
					});
					img = null;
				};
			}
		</script>
        <br /><br/>
        <div style="text-align: center;padding-left: 210px;">
        	<!-- JiaThis Button BEGIN -->
			<div class="jiathis_style_24x24">
				<a class="jiathis_button_qzone"></a>
				<a class="jiathis_button_tsina"></a>
				<a class="jiathis_button_tqq"></a>
				<a class="jiathis_button_weixin"></a>
				<a class="jiathis_button_renren"></a>
				<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
				<a class="jiathis_counter_style"></a>
			</div>
			<script type="text/javascript" src="http://v3.jiathis.com/code_mini/jia.js?uid=1394011530951702" charset="utf-8"></script>
			<!-- JiaThis Button END -->
      </div>
      </div>
      <div class="right">
        <div class="services_area right_div">
			<h2 class = "comhead">热门文章</h2>
				<div id="tab1pane" class="selected">
					<ul class="pane_ul">
					#hotArt#
					</ul>
				</div>
        </div>
        <div class="webs right_div">
        	<h2 class = "comhead">推荐网址<span>&nbsp;</span></h2>
        	<div class="sidebar_blue_top"></div>
        	<div class="sidebar_blue_content">
						<div class="haourl">
							<a href="http://hao.360.cn" target="_blank">360网址</a> ┆
							<a href="http://www.hao123.com" target="_blank">Hao123</a> ┆
							<a href="http://tv.sohu.com/" target="_blank">搜狐视频</a><br />
							<a href="http://t.sina.com.cn" target="_blank" class="link1">新浪微博</a> ┆
							<a href="http://t.qq.com" target="_blank">腾讯微博</a> ┆
							<a href="http://baozoumanhua.com/" target="_blank">暴走漫画</a><br />
							<a href="http://www.56.com" target="_blank">56.Com</a> ┆
							<a href="http://www.tudou.com" target="_blank">土豆网</a>　 ┆
							<a href="http://www.qiyi.com" target="_blank">奇艺高清</a><br />
							<a href="http://www.dangdang.com/" target="_blank">当当网</a>　 ┆
							<a href="http://www.jd.com/" target="_blank">京东商城</a> ┆
							<a href="http://www.taobao.com/" target="_blank">淘宝</a><br />
						</div>
					</div>
					<div class="sidebar_blue_bottom"></div>
        </div>
          <div class="calendar_text1 right_div">
          	<h2 class = "comhead">
	          	<img src="../nresources/images/star.png" alt="Star" width="16" height="16" />
	          		热门标签
          	</h2>
          	<div class="sidebar_blue_content">
	          	<div class="taglist">
	          	#tag#
				</div>
			</div>
          </div>
</div>
    </div>
  </div>
   <div id="fottermain">
      <div id="fotter">
        <div class="fotter_linksarea">
          <div align="center"><a href="javascript:void(0);" class="fotter_link">首页</a> | <a href="javascript:void(0);" class="fotter_link">关于我们</a> | <a href="javascript:void(0);" class="fotter_link">成长发展</a> | <a href="javascript:void(0);" class="fotter_link">意见反馈</a> | <a href="javascript:void(0);" class="fotter_link">帮助中心</a></div>
        </div>
        <div class="fotter_copyrightsarea">
          <div align="center">如有问题请联系<a href="http://sc.chinaz.com" target="_blank" class="copyrightslink">xianqu_bar@sina.com</a> ,我们将尽快解决<a href="http://www.xianquba.com" target="_blank" class="copyrightslink">。感悟生活,分享快乐</a></div>
        </div>
        
      </div>
    </div>
</form>
</body>

</html>
